﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace work_of_jump_100
{
    /// <summary>
    /// Bar类
    /// </summary>
    class Bar
    {
        public Rectangle Rectangle;

        public Bar()
        {
            Rectangle = new Rectangle(300, 600, 200, 25);
        }

        /// <summary>
        /// 绘制Bar
        /// </summary>
        /// <param name="g"></param>
        public void Draw(Graphics g)
        {
            g.FillRectangle(new SolidBrush(Color.Blue), Rectangle);
        }
    }
}
